package com.example.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author luo
 */
@Data
public class Staff implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;
    private String name;
    private String sex;
    private Integer age;
    private String department;
    private String position;
    private String phone;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date time;
}
